import axios from "../../../axios";

//登录
export const userLogin = (param) => {
    return axios.request({
        url:'/shops/login_and_register/basic/login',
        params:param
    })
}

//退出登录
export const cancelLogin = () => {
    return axios.request({
        url:'/shops/login_and_register/basic/logout',
        method:'POST'
    })
}

//管理员个人信息
export const managerInfo = (param) => {
    return axios.request({
        url:'/shops/user/update/findUserById',
        params:param
    })
}